package com.Event;

import org.springframework.context.ApplicationContext;
import org.springframework.context.event.ApplicationContextEvent;

/**
 * @author cyt
 * @create 2020-08-01 17:29
 */
public class MsgSendEvent extends ApplicationContextEvent {

    private String to;

    public MsgSendEvent(ApplicationContext source, String to) {
        super(source);
        this.to = to;
    }

    public String getTo() {
        return this.to;
    }

}
